package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.HotRec;
import com.kbbywyclient.data.entity.TaskTab;

import java.util.List;

/**
 * Created by Jiangzx on 2017/8/17 20:00.
 */

public class TaskContract {
    public interface View{
        void finishRefresh();

        void onTaskTabSuccess(List<TaskTab.Bean> data);

        void setListUi(List<HotRec> data, boolean canLoadMore);
        void loadListEmpty();
    }

    public interface Presenter{
        void loadTaskTab();

        void loadTaskHotRec(int page,String saleId);
        void clearList();
    }
}
